extends ../../layout/layout

block content
  .content-wrapper
    .citylist
      .row
        .col-xs-3.first


block self_js
  script(src="../../js/module/dispatch/list.js")
  script(src="../../js/lib/addr-data.js")

block self_css
  link(rel="stylesheet", href="../../css/dispatch/list.css")

block vendor_js
  script(src="../../vendor/sinput/sinput.min.js")
  script(src="../../vendor/jqGrid/js/jquery.jqGrid.js")
  script(src="../../vendor/jqGrid/js/i18n/grid.locale-cn.js")
  script(src="../../vendor/laydate/laydate.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.extend.js")
  script(src="//webapi.amap.com/maps?v=1.4.2&key=ad66e689c2ccae34c9daa9d20733412f")

block vendor_css
  link(rel='stylesheet', type="text/css", href="../../vendor/jqGrid/css/ui.jqgrid-bootstrap.css")

block layer
  .layer-box#layer-dispatch
    .mw1200
      .header
        .form-container.form-inline
          .tab-pane-selected#pane1
            span 调度派单参数设置
          .tab-pane#pane2
            span 车辆状态列表
          .tab-pane#pane3
            span 订单分布
          //- .tab-pane#pane4
          //-   span 派单失败订单
          .tab-pane#pane5
            span 会务管理
      .content.padding20
        #content1
          .header
            .form-container.form-inline
              .tab-pane-selected#subPane1
                span 预约用车
              .tab-pane#subPane2
                span 立即用车
              .tab-pane#subPane3
                span 预约接机/站
              .tab-pane#subPane4
                span 立即接机/站
          .content

            //- subContent 1
            form#subContent1
              .subHeader
                span.text 基础设置设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 司机信息推送设置：
                    .form-container.form-inline
                      input.form-control.marginR10(name="notify_time", disabled)
                      span 分钟
                  .col-xs-6
                    span.text (司机信息推送时间小于最短预约时间减去派单各轮次间隔时间之和)
                .row.form-row.form-row-sm
                  .col-xs-6
                    .form-text_150 可预约最短时间设置：
                    .form-container.form-inline
                      input.form-control.marginR10(name="min_time", disabled)
                      span 分钟
                .row.form-row.form-row-sm
                  .col-xs-6
                    .form-text_150 可预约最长时间设置：
                    .form-container.form-inline
                      input.form-control.marginR10(name="max_time", disabled)
                      span 天
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否短信通知下单人：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_send_msg",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_send_msg", value="2" disabled)
                        span &ensp;关闭
                  .col-xs-8(name="msg_id_hide")
                    .form-text_150 短信模板ID：
                    .form-container.form-inline
                      input.form-control.marginR10(name="msg_id", disabled)
                      span.text （下单人与用车人短信模板一致）
              .subHeader
                span.text 派单参数设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 派单轮数：
                    .form-container.form-inline
                      input.form-control.marginR10(name="rounds1", disabled)
                      span 轮
                  .col-xs-4
                    .form-text_150 间隔时间：
                    .form-container.form-inline
                      input.form-control.marginR10.intervax(name="interval1", disabled)
                      span 秒
                #roundsInfo1
              //- .subHeader
              //-   span.text 修改记录
              //- .content
              //-   .row.form-row.form-row-sm
              //-     .col-xs-12
              //-       .form-text 最后修改：
              //-       .form-container.form-inline
              //-         input(name="update_id" style="border:0;text-align:center")
              //-         span.text @
              //-         span.text(name="update_time" style="border:0;text-align:center")
              .text-center.marginB10.marginT10
                button.btn.btn-primary#optionallyBook-save(type="button")
                  span 保存

            //- subContent2
            form#subContent2(style="display:none")
              .subHeader
                span.text 基础设置设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否短信通知下单人：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_send_msg", value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_send_msg", value="2" disabled)
                        span &ensp;关闭
                  .col-xs-8(name="msg_id_hide")
                    .form-text_150 短信模板ID：
                    .form-container.form-inline
                      input.form-control.marginR10(name="msg_id", disabled)
                      span.text （下单人与用车人短信模板一致）
              .subHeader
                span.text 立即用车自动派单设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 派单轮数：
                    .form-container.form-inline
                      input.form-control.marginR10(name="rounds2", disabled)
                      span 轮
                  .col-xs-4
                    .form-text_150 间隔时间：
                    .form-container.form-inline
                      input.form-control.marginR10.intervax(name="interval2", disabled)
                      span 秒
                #roundsInfo2

              .text-center.marginB10.marginT10
                button.btn.btn-primary#optionallyNow-save(type="button")
                  span 保存


            //- subContent3
            form#subContent3(style="display:none")
              .subHeader
                span.text 基础设置设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-6
                    .form-text_150 司机信息推送设置：
                    .form-container.form-inline
                      input.form-control.form-width100.marginR10(name="notify_time", disabled)
                      span 分钟
                  .col-xs-6
                    span.text (司机信息推送时间小于最短预约时间减去派单各轮次间隔时间之和)
                .row.form-row.form-row-sm
                  .col-xs-6
                    .form-text_150 可预约最短时间设置：
                    .form-container.form-inline
                      input.form-control.form-width100.marginR10(name="min_time", disabled)
                      span 分钟
                .row.form-row.form-row-sm
                  .col-xs-6
                    .form-text_150 可预约最长时间设置：
                    .form-container.form-inline
                      input.form-control.form-width100.marginR10(name="max_time", disabled)
                      span 天
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否短信通知下单人：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_send_msg",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_send_msg", value="2" disabled)
                        span &ensp;关闭
                  .col-xs-8(name="msg_id_hide")
                    .form-text_150 短信模板ID：
                    .form-container.form-inline
                      input.form-control.marginR10(name="msg_id", disabled)
                      span.text （下单人与用车人短信模板一致）

                      input(type="hidden" name="is_standby" value="1")
                //- .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否给待命车辆派车：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_standby",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_standby", value="2" disabled)
                        span &ensp;关闭
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否给场外车辆派车：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_online",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_online", value="2" disabled)
                        span &ensp;关闭
              .subHeader
                span.text 立即派单参数设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 派单轮数：
                    .form-container.form-inline
                      input.form-control.marginR10(name="nowRounds3", disabled)
                      span 轮
                  .col-xs-4
                    .form-text_150 间隔时间：
                    .form-container.form-inline
                      input.form-control.marginR10.intervax(name="nowInterval3", disabled)
                      span 秒
                #nowRoundsInfo3
              .subHeader
                span.text 预约派单参数设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 派单轮数：
                    .form-container.form-inline
                      input.form-control.marginR10(name="bookRounds3", disabled)
                      span 轮
                  .col-xs-4
                    .form-text_150 间隔时间：
                    .form-container.form-inline
                      input.form-control.marginR10.intervax(name="bookInterval3", disabled)
                      span 秒
                #bookRoundsInfo3
              //- .subHeader
              //-   span.text 修改记录
              //- .content
              //-   .row.form-row.form-row-sm
              //-     .col-xs-12
              //-       .form-text 最后修改：
              //-       .form-container.form-inline
              //-         span.text admin   @   2016-12-27 12:21:10
              .text-center.marginB10
                button.btn.btn-primary#speciallyBook-save(type="button")
                  span 保存

            //- subContent4
            form#subContent4(style="display:none")
              .subHeader
                span.text 基础设置设置
              .content
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否短信通知下单人：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_send_msg",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_send_msg", value="2" disabled)
                        span &ensp;关闭
                  .col-xs-8(name="msg_id_hide")
                    .form-text_150 短信模板ID：
                    .form-container.form-inline
                      input.form-control.marginR10(name="msg_id", disabled)
                      span.text （下单人与用车人短信模板一致）
                //- .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否给待命车辆派车：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_standby",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_standby", value="2" disabled)
                        span &ensp;关闭
                input(type="hidden", name="is_standby", value="1")
                .row.form-row.form-row-sm
                  .col-xs-4
                    .form-text_150 是否给场外车辆派车：
                    .form-container
                      label.marginR10
                        input(type="radio", name="is_online",  value="1" disabled)
                        span &ensp;开启
                      label
                        input(type="radio", name="is_online", value="2" disabled)
                        span &ensp;关闭
              #rounds4
                .subHeader
                  span.text 场外车辆派车参数设置
                .content
                  .row.form-row.form-row-sm
                    .col-xs-4
                      .form-text_150 派单轮数：
                      .form-container.form-inline
                        input.form-control.marginR10(name="rounds4", disabled)
                        span 轮
                    .col-xs-4
                      .form-text_150 间隔时间：
                      .form-container.form-inline
                        input.form-control.marginR10.intervax(name="interval4", disabled)
                        span 秒
                  #roundsInfo4
              //- .subHeader
              //-   span.text 修改记录
              //- .content
              //-   .row.form-row.form-row-sm
              //-     .col-xs-12
              //-       .form-text 最后修改：
              //-       .form-container.form-inline
              //-         span.text admin   @   2016-12-27 12:21:10
              .text-center.marginB10
                button.btn.btn-primary#speciallyNow-save(type="button")
                  span 保存


        #content2(style="display:none")
          .subHeader
            span.text 车辆状态列表
          .content
            form#form-stasticSearch
              .form-inline
                .form-group
                  label.marginR10 司机名称&emsp;
                    input.form-control.form-width100(name="name" placeholder="请输入司机名称")
                //- .form-group
                //-   label.marginR10 司机电话&emsp;
                //-     input.form-control.form-width100(name="" placeholder="请输入司机电话")
                //- .form-group
                //-   label.marginR10 车牌号&emsp;
                //-     input.form-control.form-width100(name="" placeholder="请输入车牌号")
                .form-group
                  label.marginR10 状态&emsp;
                    select.form-control.form-width100(name="state")
                .form-group
                  button.pull-right.btn.btn-default#btn-driverSearch.marginR10(type="button")
                    i.fa.fa-search
                    span 查询
                .form-group
                  button.pull-right.btn.btn-default#export-btn(type="button")
                    i.fa.fa-export
                    span 导出
          .content-body.marginT10#table-box
            table.table#table-dispatch-statusList
            #pager-statusList



        #content3(style="display:none")
          .content
            span.text 暂未开放，敬请期待

        //- #content4(style="display:none")
        //-   .subHeader
        //-     span.text 失败订单列表
        //-   .content
        //-     form#form-search
        //-       .form-inline
        //-         .form-group
        //-           label.marginR10 订单号&emsp;
        //-             input.form-control.form-width150(name="" placeholder="请输入订单号")
        //-         .form-group
        //-           label.marginR10 乘客电话&emsp;
        //-             input.form-control.form-width100(name="" placeholder="请输入乘客电话")
        //-         .form-group
        //-           label.marginR10 出发地&emsp;
        //-             input.form-control.form-width100(name="" placeholder="请输入出发地")
        //-         .form-group
        //-           label.marginR10 目的地&emsp;
        //-             input.form-control.form-width100(name="" placeholder="请输入目的地")
        //-         .form-group
        //-           label.marginR10 订单类型&emsp;
        //-             select.form-control.form-width100(name="")
        //-               option(value="") 不限
        //-       .form-inline.marginT10
        //-         .form-group
        //-           label.marginR10 服务时间&emsp;
        //-             input.form-control#transLicePeriod-time(placeholder="请选择服务时间" readonly)
        //-             input(type="hidden" name="")
        //-             input(type="hidden" name="")
        //-         .form-group
        //-           button.pull-right.btn.btn-default#btn-driverSearch.marginR10(type="button")
        //-             i.fa.fa-search
        //-             span 查询
        //-         //- .form-group
        //-         //-   button.pull-right.btn.btn-default#export-btn(type="button")
        //-         //-     i.fa.fa-export
        //-         //-     span 导出
        //-   .content-body.marginT10#table-box
        //-     table.table#table-dispatch-fail
        //-     #pager-fail


        #content5(style="display:none")
          .content
            span.text 暂未开放，敬请期待
